<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>

    <div class="website">
        <div class="box">您的位置：
            <a href="/">首页</a><em>&gt;</em>
            <a href="/product.html">产品系列</a></a><em>&gt;</em>
            <a href="<?php echo "/product/" . $cur_category['id'] . ".html"; ?>"><?php echo $cur_category['category_name']; ?></a>
        </div>
    </div>

    <div class="product_show">
        <div class="pic_big show_contact">
            <div class="title">
                <a href="javascript:;" class="tags on" data-id=""><?php echo $cur_category['category_name']; ?></a>
            </div>
            <div class="pic f_l" style="margin: 0 auto;float: none">
                <img  src="<?php echo $product['product_img']; ?>">
            </div>
        </div>
        <div class="show_contact">
            <div class="title">
                <a href="javascript:;" class="tags on" data-id=""> <?php echo $product['title']; ?>-产品介绍</a>
            </div>
            <div class="show content" style="display: block;">
                <?php echo $product['content']; ?>
            </div>
        </div>
    </div>
    <script>
        $(function () {
            $(".tags").click(function () {
                $(".tags").removeClass("on");
                $(this).addClass("on");
                $(".show").hide();
                var pid = $(this).attr("data-id");
                $(".content" + pid).show();
            });
        })
    </script>
<?php $this->load->view('common/footer'); ?>